package com.tubang.logistics.vo.logistics;

import com.tubang.common.vo.BaseVo;

/**
 * @author wsl
 * @since 2017-12-31
 */
@SuppressWarnings("serial")
public class OrderLogisticsVo extends BaseVo {
	/**
	 * 车辆类型
	 */
	private String containerType;
	/**
	 * 车辆尺寸
	 */
	private Double containerSize;
	/**
	 * 运费 元/吨
	 */
	private Double carriage;
	/**
	 * 运输总费用
	 */
	private Double amount;
	/**
	 * 是否开发票
	 */
	private String invoiceFlag;
	/**
	 * 结算周期：300-预付；301-到付；302-回单付
	 */
	private String payPeriod;
	/**
	 * 承运商
	 */
	private String carrier;
	/**
	 * 承运商手机号
	 */
	private String carrierMobile;
	/**
	 * "95":"抢单中","96":"指派中","961":"拒绝接单","97":"竞价中","98":"待审核","99":"报价中","100":"待接单","101":"待提货",
	 * "102":"运输中","103":"待确认","104":"已完成","105":"异常运单","106":"驳回运单","107":"待发布"
	 */
	private String statusCode;
	/**
	 * 订单状态
	 */
	private String statusCodeDesc;

	public String getContainerType() {
		return containerType;
	}

	public OrderLogisticsVo setContainerType(String containerType) {
		this.containerType = containerType;
		return this;
	}

	public Double getContainerSize() {
		return containerSize;
	}

	public OrderLogisticsVo setContainerSize(Double containerSize) {
		this.containerSize = containerSize;
		return this;
	}

	public Double getCarriage() {
		return carriage;
	}

	public OrderLogisticsVo setCarriage(Double carriage) {
		this.carriage = carriage;
		return this;
	}

	public Double getAmount() {
		return amount;
	}

	public OrderLogisticsVo setAmount(Double amount) {
		this.amount = amount;
		return this;
	}

	public String getInvoiceFlag() {
		return invoiceFlag;
	}

	public OrderLogisticsVo setInvoiceFlag(String invoiceFlag) {
		this.invoiceFlag = invoiceFlag;
		return this;
	}

	public String getPayPeriod() {
		return payPeriod;
	}

	public OrderLogisticsVo setPayPeriod(String payPeriod) {
		this.payPeriod = payPeriod;
		return this;
	}

	public String getCarrier() {
		return carrier;
	}

	public OrderLogisticsVo setCarrier(String carrier) {
		this.carrier = carrier;
		return this;
	}

	public String getCarrierMobile() {
		return carrierMobile;
	}

	public OrderLogisticsVo setCarrierMobile(String carrierMobile) {
		this.carrierMobile = carrierMobile;
		return this;
	}

	public String getStatusCode() {
		return statusCode;
	}

	public OrderLogisticsVo setStatusCode(String statusCode) {
		this.statusCode = statusCode;
		return this;
	}

	public String getStatusCodeDesc() {
		return statusCodeDesc;
	}

	public OrderLogisticsVo setStatusCodeDesc(String statusCodeDesc) {
		this.statusCodeDesc = statusCodeDesc;
		return this;
	}

	public Boolean getEnable() {
		return enable == null ? true : false;
	}

}
